#ifndef __BE_RESOURCEMANAGER__
#define __BE_RESOURCEMANAGER__

class ResourceManager
{
 private:
  static ResourceManagerPtr inst;

  GLMeshPtrSet meshes;
  Database     database;

  ResourceManager();

 public:
  ~ResourceManager();

  static ResourceManagerPtr instance();

  GLMeshPtr getMesh(const String &_name);
  // ObjectPtr getObject(const String &_objName, const String &_meshName);
  ObjectPtr getObject(const String &_objName);

};

#endif
